# -*- ecoding: utf-8 -*-
# @Author: Wick
# @Time: 2024-02-24 16:24

list1 = [1,2,3]
def modify_list1(my_list):
    my_list.append(4)
    pass

modify_list1(list1)
print(list1)

list2 = list1
list1.append(5)
print(list1, list2)